package com.tchintech.pay.delegate;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;
import com.tchintech.pay.utils.PullToRefreshView;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/8/9 0009.
 */

public class PayDetailDelegate extends AppDelegate {
    @Bind(R.id.iv_back)
    ImageView back;
    @Bind(R.id.tv_title)
    TextView tv_title;
    @Bind(R.id.pull_refresh)
    PullToRefreshView pull_refresh;
    @Bind(R.id.lv_paydeltail)
    ListView lv_paydeltail;

    @Override
    public int getRootLayoutId() {
        return R.layout.activity_paydetail;
    }
    public void setTitles(String str){
        tv_title.setText(str);
    }
    public void setVisible(){
        back.setVisibility(View.VISIBLE);
    }
    public PullToRefreshView getPull(){
        return  pull_refresh;
    }
    public ListView getLv(){
        return  lv_paydeltail;
    }

}
